import React from 'react';
import {connect} from 'dva';
import styles from './index.less';
/**
 * 出差申请信息
 */
class cTravelRequestInfo extends React.Component {
  constructor(props) {
    super(props);
    this.state = {

    }
  }

  render(){
    return (
      <div className={styles.baseList}>
        <div className={styles.item}>
          <div className={styles.des}>Travel Request Case No</div>
          <div className={styles.value}>{this.props.detail.mast && this.props.detail.mast.caseNo}</div>
        </div>
      </div>
    )
  }
}


function mapStateToProps(state) {
  return {
    ...state.detail
  }
}
export default connect(mapStateToProps)(cTravelRequestInfo);
